<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>列表页</title>
  <link rel="stylesheet" type="text/css" href="__ROOT__/Static/hdjs/hdjs.css">
  <script type="text/javascript" src="__STATIC__/Js/jquery-1.7.2.min.js"></script>
  <script src="__ROOT__/Static/hdjs/hdjs.min.js" type="text/javascript" charset="utf-8"></script>
  <script src="__STATIC__/public/js/index.js" type="text/javascript" charset="utf-8"></script>
  <link rel="stylesheet" type="text/css" href="__STATIC__/public/list.css">
  <link rel="stylesheet" type="text/css" href="__STATIC__/public/index.css">
  
  <style type="text/css">
  	.fenlei .attr{
  		color: #00CCCC;
  	}
  </style>
</head>

<body style="background: white;">
    <include file="__APP__/Index/View/Common/header.html"/>
    
    <!--列表开始-->
    <div class="nv">
    	<div class="nv_one">
    		<div class="nv_lie">
    			<a href="">{$da.father.cname}</a>
    			<br />
    			<span>{$da.cname}</span>
    		</div>
    		<ul class="u_one">
    			<foreach from="$da['temp']" key="$k" value="$v">
    				<li><a href="{|U:'Index/List/index',array('cid'=>$v['cid'])}">{$v.cname}</a></li>
    			</foreach>
    		</ul>
    		
    	</div>
    </div>
    
    <div class="zui">
    	<div class="zui_one">
    		<div class="zui_three">
    			<a href="javascript:;" class="left">最热</a>
    			<a href="javascript:;" class="right">最新</a>
    		</div>
    	</div>
    </div>
    
    <foreach from="$tempFinalAttr" key="$k" value="$v">
	    <div class="fenlei">
	    	<div class="fen_one">
	    		<span>{$v.name}:</span>
	    	</div>
	    	<ul class="attrfather">
	    		<?php 
					//赋值给临时变量为了不破坏$param
					$temp = $param;
					//为了不限而准备的
					$temp[$k] = 0;
				?>
	    		<li><a href="{|U:'List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp))}" <if value="$param[$k] eq 0">class="attr"</if> >全部</a></li>
	    		<foreach from="$v['value']" key="$kk" value="$vv">
	    			<?php 
						$temp[$k] = $vv['gtid'];
					?>
	    			<li><a href="{|U:'List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp))}" <if value="$param[$k] eq $vv['gtid']">class="attr"</if> >{$vv.gtvalue}</a></li>
	    		</foreach>
	    	</ul>
	    </div>
    </foreach>
    
    <div class="fenlei_box">
    	<foreach from="$goodsdata" key="$k" value="$v">
	    	<div class="box_one">
	    		<div class="box_img">
	    			<img src="__ROOT__/{$v.pic}" style="width: 242px;height: 242px;"/>
	    		</div>
	    		<a href="{|U:'Index/Goods/index',array('gid'=>$v['gid'])}">{$v.gname}</a>
	    		<span class="s1">一 <span class="s2"> ￥{$v.shopprice}.00 </span> 一</span>
	    	</div>
    	</foreach>
    	
    </div>
    
    
    <!--列表结束-->
    
    
    
    
  
    <!--底部-->
    <div class="foot">
    	<div class="gaoduan">
    		<span>高端定制上哇噻网</span>
    	</div>
    	<div class="di">
    		<ul>
    			<li><a href="">关于我们</a></li>
    			<li><a href="">联系我们</a></li>
    			<li><a href="">媒体报道</a></li>
    			<li><a href="">创意画报</a></li>
    			<li><a href="">招贤纳士</a></li>
    			<li><a href="">版权保护</a></li>
    			<li><a href="">用户条款</a></li>
    			<li><a href="">隐私声明</a></li>
    			<li><a href="">友情链接</a></li>
    			<li><a href="">网站地图</a></li>
    			<li><a href="">帮助中心</a></li>
    			<li><a href="">手工客</a></li>
    		</ul>
    		<ul class="u1">
    			<li>北京光年创艺信息技术有限公司 WowSai.com Copyright© 2008-2013 [京ICP备10020900][京公网安备11010502026420][京ICP证090011号]</li>
    		</ul>
    		<div class="tu">
    		   <ul>
    		   	    <li><img src="__STATIC__/public/images/2.png" alt="" /></li>
    		   	    <li><img src="__STATIC__/public/images/1.png" alt="" /></li>
    		   	    <li><img src="__STATIC__/public/images/3.png" alt="" /></li>
    		   </ul>
    	    </div>
    	</div>
    	
    </div>
    
    <div class="ding">
    	<a href="javascript:;"></a>
    </div>
    
</body>
</html>

